package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <desc>
 *      用户云对讲设备权限实体类
 * </desc>
 *
 * @createDate 2017/09/30
 */
@ItlTables("elevator_meal_info")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ElevatorMealInfoPO extends BasePO implements Serializable{
    @ItlField(value ="meal_id",logicKey = "key")
    private String mealId;     //套餐id

    @ItlField("project_id")
    private String projectId;       //项目编号，由8位数字构成,00000001~99999999

    @ItlField("meal_type")
    private Integer mealType;    //套餐类型 0普通套餐,1活动套餐

    @ItlField("times")
    private Integer times;      //次数

    @ItlField("amount")
    private BigDecimal amount;      //金额

    @ItlField("app_show")
    private Integer appShow;     //APP同步展示 0否,1是

    @ItlField("start_time")
    private Date startTime;       //起始时间

    @ItlField("end_time")
    private Date endTime;       //结束时间

    @ItlField("create_user_id")
    private String createUserId;            //创建人id

    @ItlField("operate_user_id")
    private String operateUserId;           //操作人id
}
